package com.easy.service;

import com.easy.bean.Pattern;
import com.easy.util.Page;

import java.util.List;

public interface PatternService {
    Pattern add(Pattern pattern);
    int del(Integer id);
    Pattern edit(Pattern pattern);
    List<Pattern> all(Pattern pattern);
    Pattern one(Integer id);
    void page(Page page, Pattern pattern);

}
